<tal:block tal:repeat="activity  getActivities/result">
<?php if($ctx->activity['content_type']=="triggers")
{
	$profile_pic="TrigIconB.png";
	$alt="Trigger";
	$title="Trigger";
}
else if($ctx->activity['content_type']=="expressions")
{
	$profile_pic="TrigIconB.png";
	$alt="Message";
	$title="Message";
}
else if($ctx->activity['content_type']=="album")
{
	$profile_pic="PhotoIconUser.png";
	$alt="Album";
	$title="Album";
}
else if($ctx->activity['content_type']=="photos")
{
	$profile_pic="PhotoDefImg.png";
	$alt="Photo";
	$title="Photo";
}
else if($ctx->activity['content_type']=="tasks")
{
	$profile_pic="TaskIcon.png";
	$alt="Task";
	$title="task";
}
else if($ctx->activity['content_type']=="journals")
{
	$profile_pic="EventDefIcon.png";
	$alt="Journals";
	$title="Journals";
}
else 
{
	$profile_pic="TrigIconB.png";
	$alt="Comment";
	$title="Comment";
}
?>
<div class="activity">
<div class="blkCont">
<p class="UserImg"><img src="/images/<?php echo $profile_pic; ?>" height="40px" width="40px" alt="<?php echo $alt; ?>" title="<?php echo $title;?>" /></p>
<p class="Date"><?php echo ago(strtotime($ctx->activity['added_date']));?></p>
</div>
<div class="blkCont">
<div class="wid289">
<p class="Title"><a href="#"><?php echo $ctx->this->showActivityLink($ctx->activity['content_id'], $ctx->activity['content_type'],$ctx->activity['share_type']);?></a></p>
<p class="Desc"><?php echo "Added ".$ctx->activity['content_type']; ?></p>
<div>
<span><a href="#" class="UserShare">Share</a></span>
<span><a href="#" class="UserComment">Comment</a></span>
</div>
</div>
</div>
<div class="blkCont">
<img src="/images/ExpIcon.png" alt="Expression" title="Expression"/></div>
<div class="clear"></div>
</div>
</tal:block>